package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.AiAlarmData;
import com.ruoyi.system.mapper.AiAlarmDataMapper;
import com.ruoyi.system.service.IAiAlarmDataService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @Version 1.0.0
 * @Date 2024/10/23 22:43
 * @Author wux
 */
@Service
public class AiAlarmDataServiceImpl extends ServiceImpl<AiAlarmDataMapper, AiAlarmData> implements IAiAlarmDataService {
    @Override
    public List<Map<String, Object>> totalByAlgo() {
        return baseMapper.totalByAlgo();
    }

    @Override
    public List<AiAlarmData> listLastWarnByAI() {
        return baseMapper.listLastWarnByAI();
    }
}
